package com.lemon.smartsafetynew.entity.incident;

/**
 * Created by Andrew on 2017/9/12.
 */

public class IncidentBo {
    public static enum Status {

        to_do("0", "待处理"),
        done("1", "已处理");

        private String value;
        private String desc;

        private Status(String value, String desc) {
            this.value = value;
            this.desc = desc;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

    }

    public static enum SourceType {

        patrol_task("1", "巡查任务");

        private String value;
        private String desc;

        private SourceType(String value, String desc) {
            this.value = value;
            this.desc = desc;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

    }

    public static enum Result {

        close("1", "关闭"),
        to_hidden_danger("2", "上报隐患");

        private String value;
        private String desc;

        private Result(String value, String desc) {
            this.value = value;
            this.desc = desc;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

    }

}
